import { defineComponent, useSlots } from 'vue';
import { Table, Button, Space } from 'ant-design-vue';

export default defineComponent({
  setup(props) {
    const slots = useSlots();

    return () => {
      return (
        <div>
          {slots.form?.()}
          <div class="align-items_center justify_between">
            <div>{props.headerTitle}</div>
            <Space> {slots.toolbar?.()} </Space>
          </div>
        </div>
      );
    };
  },
});
